package cn.xny.basic.jwt;


import cn.xny.system.domain.Menu;
import cn.xny.user.domain.Logininfo;

import java.util.List;

public class LoginData {

    private Logininfo  logininfo;		//用户登录信息
    private List<String> permissions; //当前登录人拥有的权限：保存的是sn
    private List<Menu> menus;		//当前登录人拥有的菜单

    public Logininfo getLogininfo() {
        return logininfo;
    }

    public void setLogininfo(Logininfo logininfo) {
        this.logininfo = logininfo;
    }

    public List<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<String> permissions) {
        this.permissions = permissions;
    }

    public List<Menu> getMenus() {
        return menus;
    }

    public void setMenus(List<Menu> menus) {
        this.menus = menus;
    }
}